function isBigEnough(element){
    return element >= 10;
}

var filtered = [12, 5, 8, 130, 44]
console.log(filtered.filter(isBigEnough))